package com.industrial.operation.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 知识动态管理对象 operation_knowledge_manage
 * 
 * @author ZHOU_S
 * @date 2024-02-20
 */
public class OperationKnowledgeManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String baseId;

    /** 标题名称 */
    @Excel(name = "标题名称")
    private String baseName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date baseCreateTime;

    /** 审核状态（0:未审核，1：通过，2：驳回） */
    @Excel(name = "审核状态", readConverterExp = "0=:未审核，1：通过，2：驳回")
    private String status;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statusTime;

    /** 知识分类 */
    @Excel(name = "知识分类")
    private String knowledgeType;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String rejectionReason;
    /** 文件名称 */
    private String docName;
    /** 文件路径 */
    private String docUrl;
    /** 审核人 */
    private String rejectioner;

    public String getRejectioner() {
        return rejectioner;
    }

    public void setRejectioner(String rejectioner) {
        this.rejectioner = rejectioner;
    }

    /** 知识动态管理正文信息 */
    private List<OperationKnowledgeTexts> operationKnowledgeTextsList;

    public String getDocName() {
        return docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    public String getDocUrl() {
        return docUrl;
    }

    public void setDocUrl(String docUrl) {
        this.docUrl = docUrl;
    }

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId() 
    {
        return baseId;
    }
    public void setBaseName(String baseName) 
    {
        this.baseName = baseName;
    }

    public String getBaseName() 
    {
        return baseName;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setBaseCreateTime(Date baseCreateTime) 
    {
        this.baseCreateTime = baseCreateTime;
    }

    public Date getBaseCreateTime() 
    {
        return baseCreateTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setStatusTime(Date statusTime) 
    {
        this.statusTime = statusTime;
    }

    public Date getStatusTime() 
    {
        return statusTime;
    }
    public void setKnowledgeType(String knowledgeType) 
    {
        this.knowledgeType = knowledgeType;
    }

    public String getKnowledgeType() 
    {
        return knowledgeType;
    }
    public void setRejectionReason(String rejectionReason) 
    {
        this.rejectionReason = rejectionReason;
    }

    public String getRejectionReason() 
    {
        return rejectionReason;
    }

    public List<OperationKnowledgeTexts> getOperationKnowledgeTextsList()
    {
        return operationKnowledgeTextsList;
    }

    public void setOperationKnowledgeTextsList(List<OperationKnowledgeTexts> operationKnowledgeTextsList)
    {
        this.operationKnowledgeTextsList = operationKnowledgeTextsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("baseId", getBaseId())
            .append("baseName", getBaseName())
            .append("creator", getCreator())
            .append("baseCreateTime", getBaseCreateTime())
            .append("status", getStatus())
            .append("statusTime", getStatusTime())
            .append("knowledgeType", getKnowledgeType())
            .append("rejectionReason", getRejectionReason())
            .append("operationKnowledgeTextsList", getOperationKnowledgeTextsList())
            .toString();
    }
}
